<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>模特-魔步网</title>
<?php include_once(VIEWPATH."public/header_title.php");?>
<link href="<?php echo _get_cfg_path('css')?>base.css" type="text/css" rel="stylesheet" />
<link href="<?php echo _get_cfg_path('css')?>common.css" type="text/css" rel="stylesheet" />
<link href="<?php echo _get_cfg_path('css')?>ad.css" type="text/css" rel="stylesheet" />
</head>
<body>
<div class="photo_desc">
    <div class="left"><?=$photo['advisory_desc']?htmlspecialchars_decode($photo['advisory_desc']):''?></div>
    <div class="right">
        <div class="recommed_title">最新推荐</div>
        <div class="recommed_img">
            <?php if ($recommend_photo): foreach($recommend_photo as $recommed):?>
            <a href="/ad/photodesc?id=<?php echo _get_key_val($recommed['id']);?>"><img src="<?php echo _getOssPath($recommed['advisory_img']);?>" alt="" />
            <br/>
            <?=$recommed['title']?></a>
            <?php endforeach;endif;?>
        </div>
        <div class="ercode">
            <img src="<?php echo _get_cfg_path('images')?>ad/photo_ercode.jpg" alt="" />
            <br/>
            扫码关注有惊喜
        </div>
    </div>
</div>
</body>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>common.js"></script>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>lyz.delayLoading.min.js"></script>
<script type="text/javascript">
$(function () {
	$("img").delayLoading({
		defaultImg: "<?php echo _get_cfg_path('images')?>loading.jpg",   // 预加载前显示的图片
		errorImg: "",                       // 读取图片错误时替换图片(默认：与defaultImg一样)
		imgSrcAttr: "originalSrc",          // 记录图片路径的属性(默认：originalSrc，页面img的src属性也要替换为originalSrc)
		beforehand: 0,                      // 预先提前多少像素加载图片(默认：0)
		event: "scroll",                    // 触发加载图片事件(默认：scroll)
		duration: "normal",                 // 三种预定淡出(入)速度之一的字符串("slow", "normal", or "fast")或表示动画时长的毫秒数值(如：1000),默认:"normal"
		container: window,                  // 对象加载的位置容器(默认：window)
		success: function (imgObj) {},      // 加载图片成功后的回调函数(默认：不执行任何操作)
		error: function (imgObj) {}         // 加载图片失败后的回调函数(默认：不执行任何操作)
	});
});
</script>
</html>